From 8c769ea3f38200635811b905480c01630f103cb0 Mon Sep 17 00:00:00 2001 From: Arnaud Bonatti Date: Tue, 14 Apr 2020 20:43:02 +0200 Subject: [PATCH] Fix typo in IconTheme. The add_search_path() method was using the resource_path property in place of the search_path one. --- gtk/gtkicontheme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c index 9e7567fc77..c8e5eaaa50 100644 --- a/gtk/gtkicontheme.c +++ b/gtk/gtkicontheme.c @@ -1499,7 +1499,7 @@ gtk_icon_theme_add_search_path (GtkIconTheme *self, len = g_strv_length (self->search_path); paths = g_new (char *, len + 2); - memcpy (paths, self->resource_path, sizeof (char *) * len); + memcpy (paths, self->search_path, sizeof (char *) * len); paths[len] = (char *)path; paths[len + 1] = NULL; -- 2.30.2